<%@page import="com.gqs.bookstore.vo.Users"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<!-- 
		Users users = (Users)session.getAttribute("current_user");//登录页面要用session来存取数据
	 -->
	<div class="container bg">
		<ul class="breadcrumb pull-right" style="margin-bottom: 0px">
			<li><a href="regist.do?m=showRegistForm">[免费注册]</a> <span class="divider">|</span></li>
		<c:if test="${empty sessionScope.current_user }">
			<li><a href="login.do?m=showLogin">[登录]</a> <span class="divider">|</span></li>
		</c:if>	
		<c:if test="${!empty sessionScope.current_user }">
			<li>您好,
				<a href="#">${sessionScope.current_user.nikename}</a> 
				<a href="logout.do?m=logout">[退出]</a> <span class="divider">|</span>
			</li>
		</c:if>
			<li><a href="#">我的订单</a> <span class="divider">|</span></li>
			<li><a href="cart.do?m=showCart"><i class="icon-shopping-cart"></i> 购物车
				<span class="numberic_red">(${sessionScope.cart.itemCounts+0})</span></a>
				<span class="divider">|</span>
			</li>
			<li class="dropdown"><a class="dropdown-toggle"
				data-toggle="dropdown">客户服务</a><b class="caret"></b><span
				class="divider">|</span>
				<ul class="dropdown-menu">
					<li><a tabindex="-1" href="#">帮助中心</a></li>
					<li><a tabindex="-1" href="#">售后服务</a></li>
					<li><a tabindex="-1" href="#">在线客服</a></li>
					<li class="divider"></li>
					<li><a tabindex="-1" href="#">投诉中心</a></li>
					<li><a tabindex="-1" href="#">客服邮箱</a></li>
				</ul></li>
			<li class="dropdown"><a class="dropdown-toggle"
				data-toggle="dropdown">网站导航</a><b class="caret"></b>
				<ul class="dropdown-menu">
					<li><a tabindex="-1" href="#">导航1</a></li>
					<li><a tabindex="-1" href="#">导航2</a></li>
					<li><a tabindex="-1" href="#">导航3</a></li>
					<li class="divider"></li>
					<li><a tabindex="-1" href="#">导航4</a></li>
				</ul>
			</li>
		</ul>
	</div>
	<!--------------------- 导航栏 --------------------------->
	<div class="container">
		<div class="navbar">
			<div class="navbar-inner nav_bg">
				<a class="brand" href="#">全部商品分类</a>
				<ul class="nav">
					<li><a href="home.do">首页</a></li>
					<li><a href="#">图书城</a></li>
					<li><a href="#">文理超市</a></li>
					<li><a href="#">团购</a></li>
					<li><a href="#">服务</a></li>
					<li><a href="#">闪购</a></li>
					<li><a href="#">社区</a></li>
				</ul>
			</div>
		</div>
	</div>
</body>
</html>